package org.aokey.springtext;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("Param")
@RestController
public class ParamController {
    @RequestMapping("a1")
    public String tex1(String string){
        return "接收到参数："+string;
    }
    @RequestMapping("a2")
    public Object text2(int a){
        return "接收到参数a："+a;
    }
}
